# -*- coding:utf-8 -*-
from django import template
register = template.Library()

# 注册定义简单标签
@register.simple_tag
def addstr_tag(strs):
    return 'Hello %s' % strs


# 注册定义简单标签
@register.simple_tag
def test_as_tag(strs):
    return 'Hello Test Tag-%s' % strs